﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;

namespace Billder
{
    public partial class Part : System.Web.UI.Page
    {
        protected void get()
        {
            DataTable dt = Catalog.runSearch("Part", Request.QueryString["q"], "PartNumber", "ManufacturerPartNumber", "Description");
            Catalog.formatResultsWithAdd(Request.QueryString["q"], dt, Response, "searchRes", "PKPartMaster", "PartNumber" , "Item");
        }
        protected void Page_Load(object sender, EventArgs e)
        {
            get();
        }
    }
}